#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2020/10/11 12:43
# @Author : 吴敬超
# explain:

def dachange(da):
    if str(da) == '--':
        return 0.0
    else:
        return float(format(da, "0.1f"))



print type(dachange(-1.234))